package io.g740.handler;

import io.g740.service.MigrationConfig;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 数据复制处理器
 *
 * @author YunKaiLuo
 * @date 2024/10/22
 */
public interface DataMigrationHandler {
    boolean migrate(
            MigrationConfig migrationConfig,
            Connection sourceConn,
            Connection targetConn
    ) throws SQLException;
}
